﻿@helper ActiveClass(string actionName)
{ 
    if (ViewContext.Controller.ValueProvider.GetValue("controller").RawValue.ToString() == actionName)
    {
    @Html.Raw("active")
    }
}

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" type="text/css" href="~/Content/jquery-easyui-1.3.5/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="~/Content/jquery-easyui-1.3.5/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="~/Content/css/site.css">
</head>
<body>
    <div class="easyui-layout" style="width: 100%; height: 100%;">
        <div data-options="region:'north'" style="height: 50px; line-height: 45px; font-size: 16px; font-weight: bold;">
            实创后台管理系统
            <div style="position:absolute; right:10px; top:10px; font-weight:normal; font-size:12px;">
                当前用户：bjadmin 角色：分站管理员 站点：北京
            </div>
        </div>
        <div data-options="region:'west',split:true" title="功能列表" style="width: 200px;">
            <ul class="easyui-tree">
                <li data-options="state:'closed'">
                    <span>套餐管理</span>
                    <ul>
                        <li data-options="state:'closed'">
                            <span>首页图片</span>
                            <ul>
                                <li><span><a href="#">File 11</a></span></li>
                                <li>6系</li>
                                <li>9系</li>
                            </ul>
                        </li>
                        <li data-options="state:'closed'">
                            <span>套餐配置</span>
                            <ul>
                                <li><span><a href="@Url.Action("Config", "Package", new { type=1,name=2})">3系</a></span></li>
                                <li>6系</li>
                                <li>9系</li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li data-options="state:'closed'">
                    <span>案例管理</span>
                    <ul>
                        <li>案例列表</li>
                        <li>案例新增</li>
                    </ul>
                </li>
                <li data-options="state:'closed'">
                    <span>设计师管理</span>
                    <ul>
                        <li>设计师列表</li>
                        <li>设计师新增</li>
                    </ul>
                </li>
                <li data-options="state:'closed'">
                    <span>小区管理</span>
                    <ul>
                        <li>小区列表</li>
                        <li>小区新增</li>
                    </ul>
                </li>
                <li data-options="state:'closed'">
                    <span>广告/活动管理</span>
                    <ul>
                        <li>案例广告</li>
                        <li>设计师广告</li>
                        <li>小区广告</li>
                        <li>小区活动</li>
                    </ul>
                </li>
                <li data-options="state:'closed'">
                    <span>预约管理</span>
                    <ul>
                        <li>套餐预约</li>
                        <li>设计师预约</li>
                        <li>展厅预约</li>
                        <li>工地预约</li>
                    </ul>
                </li>

                <li data-options="state:'closed'">
                    <span>用户反馈</span>
                    <ul>
                        <li>活动报名</li>
                        <li>小区调查</li>
                        <li>投诉意见</li>
                    </ul>
                </li>
            </ul>
        </div>
        <div data-options="region:'center',title:'主窗口'">
            @RenderBody()
        </div>
    </div>
    <script type="text/javascript" src="~/Content/js/jquery-1.11.0.min.js"></script>
    <script type="text/javascript" src="~/Content/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="~/Content/uploadify-v3.1/jquery.uploadify-3.1.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="~/Content/kindeditor-4.1/kindeditor.js"></script>
    <script type="text/javascript" charset="utf-8" src="~/Content/kindeditor-4.1/lang/zh_CN.js"></script>
    @RenderSection("scripts", required: false)
</body>
</html>
